package com.cskaoyan.app.bean.bo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Pattern;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CaptchaBO {
    @Pattern(regexp = "1\\d{10}", message = "手机号格式不正确")
    private String mobile;
}
